package com.iwop.moto.comm;

import com.iwop.moto.utils.Utils;
/**
 * 当程序出现系统级错误，不希望用户看到出错信息的时候抛出此异常
 *
 * @author chenzhongqiang
 * @classname SysException
 * @date 2016/12/22
 * @Copyright©2016 厦门摩帮车联网络科技有限公司版权所有
 */
public class SysException extends RuntimeException {
    private static final long serialVersionUID = 1;

	public SysException(String str) {
		super(str);
	}
	
	public SysException(Throwable e) {
		super(e);
	}
	
	public SysException(Throwable e, String str) {
		super(str, e);
	}
	
	public SysException(String str, Object...params) {
		super(Utils.createStr(str, params));
	}
	
	public SysException(Throwable e, String str, Object...params) {
		super(Utils.createStr(str, params), e);
	}
}